import request from "@/common/request"

//验证码邮件配置表分页展示
export const castleconfigmailcaptchaPage = (queryForm) => {
    return request("get", "/message/mail/castleConfigMailCaptcha/page", queryForm);
}
//验证码邮件配置表列表展示
export const castleconfigmailcaptchaList = (queryForm) => {
    return request("get", "/message/mail/castleConfigMailCaptcha/list", queryForm);
}
//验证码邮件配置表详情
export const castleconfigmailcaptchaInfo = (id) => {
    return request('get', '/message/mail/castleConfigMailCaptcha/info', {
        id: id
    })
}
//验证码邮件配置表信息保存
export const castleconfigmailcaptchaSave = (data) => {
    return request('post', '/message/mail/castleConfigMailCaptcha/save', data)
}
//验证码邮件配置表信息修改
export const castleconfigmailcaptchaEdit = (data) => {
    return request('post', '/message/mail/castleConfigMailCaptcha/edit', data)
}
//验证码邮件配置表信息删除
export const castleconfigmailcaptchaDel = (id) => {
    return request('post', '/message/mail/castleConfigMailCaptcha/delete?id=' + id)
}
//验证码邮件配置表批量删除
export const castleconfigmailcaptchaDelBatch = (ids) => {
    return request('post', '/message/mail/castleConfigMailCaptcha/deleteBatch', ids)
}
//验证码邮件配置表动态表头导出
export const castleconfigmailcaptchaDynamicExport = (data) => {
    return request("eptpost", '/message/mail/castleConfigMailCaptcha/exportDynamic', data)
}

// 测试发送验证码
export const sendCaptcha = (data) => {
    return request("get", "/message/mail/castleConfigMail/sendCaptcha", data);
}
